class Printer < ApplicationRecord
  belongs_to :restaurant
  validates :name,:sn,:key,presence: true
  validates :sn,:key,uniqueness: true
end
